package com.dtx.entity;


import org.beetl.sql.annotation.entity.AssignID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;
import java.util.Date;

/*
 * 系统日志表
 * gen by beetlsql 2022-02-09
 */
@Table(name="beetlsql.sys_log")
//@ApiModel("系统日志表")
public class SysLog implements Serializable {

    // alias
    public static final String ALIAS_id = "id";
    public static final String ALIAS_browser_name = "browser_name";
    public static final String ALIAS_create_user_code = "create_user_code";
    public static final String ALIAS_create_user_name = "create_user_name";
    public static final String ALIAS_describe = "describe";
    public static final String ALIAS_device_name = "device_name";
    public static final String ALIAS_exception_info = "exception_info";
    public static final String ALIAS_execute_time = "execute_time";
    public static final String ALIAS_is_exception = "is_exception";
    public static final String ALIAS_log_type = "log_type";
    public static final String ALIAS_request_ip = "request_ip";
    public static final String ALIAS_request_method = "request_method";
    public static final String ALIAS_request_params = "request_params";
    public static final String ALIAS_request_uri = "request_uri";
    public static final String ALIAS_server_address = "server_address";
    public static final String ALIAS_user_agent = "user_agent";
    public static final String ALIAS_create_date = "create_date";
    public static final String ALIAS_end_time = "end_time";
    public static final String ALIAS_start_time = "start_time";
    private static final long serialVersionUID = -3625948497512947839L;

    /*
    ID
    */
    @AssignID("simple")
    //@ApiModelProperty("ID")
    private Long id ;
    /*
    执行时间
    */
    //@ApiModelProperty("执行时间")
    private Long executeTime ;
    /*
    浏览器名称
    */
    //@ApiModelProperty("浏览器名称")
    private String browserName ;
    /*
    创建用户编码
    */
    //@ApiModelProperty("创建用户编码")
    private String createUserCode ;
    /*
    创建用户名称
    */
    //@ApiModelProperty("创建用户名称")
    private String createUserName ;
    /*
	接口名称
	*/
    //@ApiModelProperty("接口名称")
    private String describe ;
    /*
    操作系统
    */
    //@ApiModelProperty("操作系统")
    private String deviceName ;
    /*
    异常信息
    */
    //@ApiModelProperty("异常信息")
    private String exceptionInfo ;
    /*
    是否异常
    */
    //@ApiModelProperty("是否异常")
    private String isException ;
    /*
    日志类型
    */
    //@ApiModelProperty("日志类型")
    private String logType ;
    /*
    请求IP
    */
    //@ApiModelProperty("请求IP")
    private String requestIp ;
    /*
    请求方式
    */
    //@ApiModelProperty("请求方式")
    private String requestMethod ;
    /*
    请求参数
    */
    //@ApiModelProperty("请求参数")
    private String requestParams ;
    /*
    请求URI
    */
    //@ApiModelProperty("请求URI")
    private String requestUri ;
    /*
    请求服务器地址
    */
    //@ApiModelProperty("请求服务器地址")
    private String serverAddress ;
    /*
    用户代理
    */
    //@ApiModelProperty("用户代理")
    private String userAgent ;
    /*
    创建时间
    */
    //@ApiModelProperty("创建时间")
    private Date createDate ;
    /*
    结束时间
    */
    //@ApiModelProperty("结束时间")
    private Date  endTime ;
    /*
    开始时间
    */
    //@ApiModelProperty("开始时间")
    private Date  startTime ;

    public SysLog() {
    }

    /**
     * ID
     *@return
     */
    public Long getId(){
        return  id;
    }
    /**
     * ID
     *@param  id
     */
    public void setId(Long id ){
        this.id = id;
    }

    /**
     * 执行时间
     *@return
     */
    public Long getExecuteTime(){
        return  executeTime;
    }
    /**
     * 执行时间
     *@param  executeTime
     */
    public void setExecuteTime(Long executeTime ){
        this.executeTime = executeTime;
    }

    /**
     * 浏览器名称
     *@return
     */
    public String getBrowserName(){
        return  browserName;
    }
    /**
     * 浏览器名称
     *@param  browserName
     */
    public void setBrowserName(String browserName ){
        this.browserName = browserName;
    }

    /**
     * 创建用户编码
     *@return
     */
    public String getCreateUserCode(){
        return  createUserCode;
    }
    /**
     * 创建用户编码
     *@param  createUserCode
     */
    public void setCreateUserCode(String createUserCode ){
        this.createUserCode = createUserCode;
    }

    /**
     * 创建用户名称
     *@return
     */
    public String getCreateUserName(){
        return  createUserName;
    }
    /**
     * 创建用户名称
     *@param  createUserName
     */
    public void setCreateUserName(String createUserName ){
        this.createUserName = createUserName;
    }

    /**
     * 操作系统
     *@return
     */
    public String getDeviceName(){
        return  deviceName;
    }
    /**
     * 操作系统
     *@param  deviceName
     */
    public void setDeviceName(String deviceName ){
        this.deviceName = deviceName;
    }

    /**
     * 异常信息
     *@return
     */
    public String getExceptionInfo(){
        return  exceptionInfo;
    }
    /**
     * 异常信息
     *@param  exceptionInfo
     */
    public void setExceptionInfo(String exceptionInfo ){
        this.exceptionInfo = exceptionInfo;
    }

    /**
     * 是否异常
     *@return
     */
    public String getIsException(){
        return  isException;
    }
    /**
     * 是否异常
     *@param  isException
     */
    public void setIsException(String isException ){
        this.isException = isException;
    }

    /**
     * 日志类型
     *@return
     */
    public String getLogType(){
        return  logType;
    }
    /**
     * 日志类型
     *@param  logType
     */
    public void setLogType(String logType ){
        this.logType = logType;
    }

    /**
     * 请求IP
     *@return
     */
    public String getRequestIp(){
        return  requestIp;
    }
    /**
     * 请求IP
     *@param  requestIp
     */
    public void setRequestIp(String requestIp ){
        this.requestIp = requestIp;
    }

    /**
     * 请求方式
     *@return
     */
    public String getRequestMethod(){
        return  requestMethod;
    }
    /**
     * 请求方式
     *@param  requestMethod
     */
    public void setRequestMethod(String requestMethod ){
        this.requestMethod = requestMethod;
    }

    /**
     * 请求参数
     *@return
     */
    public String getRequestParams(){
        return  requestParams;
    }
    /**
     * 请求参数
     *@param  requestParams
     */
    public void setRequestParams(String requestParams ){
        this.requestParams = requestParams;
    }

    /**
     * 请求URI
     *@return
     */
    public String getRequestUri(){
        return  requestUri;
    }
    /**
     * 请求URI
     *@param  requestUri
     */
    public void setRequestUri(String requestUri ){
        this.requestUri = requestUri;
    }

    /**
     * 请求服务器地址
     *@return
     */
    public String getServerAddress(){
        return  serverAddress;
    }
    /**
     * 请求服务器地址
     *@param  serverAddress
     */
    public void setServerAddress(String serverAddress ){
        this.serverAddress = serverAddress;
    }

    /**
     * 用户代理
     *@return
     */
    public String getUserAgent(){
        return  userAgent;
    }
    /**
     * 用户代理
     *@param  userAgent
     */
    public void setUserAgent(String userAgent ){
        this.userAgent = userAgent;
    }

    /**
     * 创建时间
     *@return
     */
    public Date  getCreateDate(){
        return  createDate;
    }
    /**
     * 创建时间
     *@param  createDate
     */
    public void setCreateDate(Date  createDate ){
        this.createDate = createDate;
    }

    /**
     * 结束时间
     *@return
     */
    public Date  getEndTime(){
        return  endTime;
    }
    /**
     * 结束时间
     *@param  endTime
     */
    public void setEndTime(Date  endTime ){
        this.endTime = endTime;
    }

    /**
     * 开始时间
     *@return
     */
    public Date  getStartTime(){
        return  startTime;
    }
    /**
     * 开始时间
     *@param  startTime
     */
    public void setStartTime(Date  startTime ){
        this.startTime = startTime;
    }

    /**
     * 接口名称
     *@return
     */
    public String getDescribe(){
        return  describe;
    }
    /**
     * 接口名称
     *@param  describe
     */
    public void setDescribe(String describe ){
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "SysLog{" +
                "id=" + id +
                ", executeTime=" + executeTime +
                ", browserName='" + browserName + '\'' +
                ", createUserCode='" + createUserCode + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", describe='" + describe + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", exceptionInfo='" + exceptionInfo + '\'' +
                ", isException='" + isException + '\'' +
                ", logType='" + logType + '\'' +
                ", requestIp='" + requestIp + '\'' +
                ", requestMethod='" + requestMethod + '\'' +
                ", requestParams='" + requestParams + '\'' +
                ", requestUri='" + requestUri + '\'' +
                ", serverAddress='" + serverAddress + '\'' +
                ", userAgent='" + userAgent + '\'' +
                ", createDate=" + createDate +
                ", endTime=" + endTime +
                ", startTime=" + startTime +
                '}';
    }
}
